<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.Map"%>
<%@ page import="com.xyrj.utils.HHString,com.xyrj.html.HHHtml"%>
<%@ page import="system.config.HHConfig"%>
<jsp:include page="../common/header.jsp" />
<link rel="WebContent/doc/公司动态.sql""stylesheet"
	href="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/uploader/uploadify/uploadify.css" />
<link rel="stylesheet"
	href="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/lightbox/jquery.lightbox-0.5.css" />
</head>

<body>
	<div id="body-wrapper">
		<!-- Wrapper for the radial gradient background -->
		<jsp:include page="../common/sidebar.jsp"></jsp:include>
		<div id="main-content">
			<!-- Main Content Section with everything -->

			<!-- 导入不支持Javascript提示 -->
			<jsp:include page="../common/noscript.html" />

			<!-- 导入控制面板 -->
			<jsp:include page="../common/dashboard.jsp" />

			<div class="clear"></div>
			<!-- End .clear -->

			<div class="content-box">
				<!-- Start Content Box -->

				<div class="content-box-header">
					<h3>新闻类型表单</h3>
				</div>
				<!-- End .content-box-header -->

				<div class="content-box-content">
					<div class="tab-content default-tab" id="tab1">
						<form
							action="<%=HHConfig.SITE_URL%>/index.jsp/admin/newstype/<%=request.getAttribute("nextAction")%>"
							method="post" enctype="multipart/form-data">
							<fieldset>
								<!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								<%
									Map record = (Map) request.getAttribute("record");
								%>
								<input type="hidden"
									value="<%=HHString.objToString(record.get("newstype_id"))%>"
									name="newstype_id" />
								<div class="left-info">
									<p>
										<label>类型名称:</label> <input class="text-input small-input"
											type="text" id="newstype_name_id" name="newstype_name"
											value="<%=HHString.objToString(record.get("newstype_name"))%>" />
										<br /> <small>新闻类型名称，字符范围：3~50个字符。</small>
									</p>
									<jsp:include page="../fields/sort_num.jsp" flush="true" />
									<jsp:include page="../fields/parent_id.jsp" flush="true" />
									<jsp:include page="../fields/seo_keywords.jsp" flush="true" />
									<jsp:include page="../fields/seo_desc.jsp" flush="true" />
									<jsp:include page="../fields/jump_url.jsp" flush="true" />
								</div>
								<div class="right-info">
								<div class="clear"></div>
									<jsp:include page="../fields/top_flag.jsp" flush="true" />
									<jsp:include page="../fields/total_visits.jsp" flush="true" />
									<jsp:include page="../fields/edit_time.jsp" flush="true" />
									<jsp:include page="../fields/create_time.jsp" flush="true" />
									<jsp:include page="../fields/author.jsp" flush="true" />
								</div>
								<jsp:include page="../common/info_op_area.jsp" flush="true" />
								<div class="clear"></div>
								<jsp:include page="../fields/description_editor.jsp"
									flush="true" />
							</fieldset>
							<div class="clear"></div>
							<!-- End .clear -->
						</form>

					</div>
					<!-- End #tab2 -->

				</div>
				<!-- End .content-box-content -->

			</div>
			<!-- End .content-box -->
			<script type="text/javascript"
				src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/admin/js/jquery.wysiwyg.js"></script>
			<script type="text/javascript"
				src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/uploader/uploadify/jquery.uploadify.min.js"></script>
			<script type="text/javascript" src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/lightbox/jquery.lightbox-0.5.min.js"></script>
			<script type="text/javascript"
				src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/common/js/hhjslib.hhbindrender.js"></script>
			<script type="text/javascript"
				src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/common/js/hhjslib.hhautomask.js"></script>
			<script type="text/javascript"
				src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/admin/js/user_info.js"></script>
			<jsp:include page="../common/footer.jsp" />